﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_Relation : DataObject
    {
        [ID]
        [IDENTITY]
        [Column]
        public int RelationID { get { return fRelationID; } set { fRelationID = value; EntityState.FieldChange("RelationID"); } } private int fRelationID; public static FieldInfo _RelationID = new FieldInfo("t_smd_Relation", "RelationID");
        [Column]
        public string BusinessKey { get { return fBusinessKey; } set { fBusinessKey = value; EntityState.FieldChange("BusinessKey"); } } private string fBusinessKey; public static FieldInfo _BusinessKey = new FieldInfo("t_smd_Relation", "BusinessKey");
        [Column]
        public string Process { get { return fProcess; } set { fProcess = value; EntityState.FieldChange("Process"); } } private string fProcess; public static FieldInfo _Process = new FieldInfo("t_smd_Relation", "Process");
        [Column]
        public int Incident { get { return fIncident; } set { fIncident = value; EntityState.FieldChange("Incident"); } } private int fIncident; public static FieldInfo _Incident = new FieldInfo("t_smd_Relation", "Incident");
        [Column]
        public string BusinessProcess { get { return fBusinessProcess; } set { fBusinessProcess = value; EntityState.FieldChange("BusinessProcess"); } } private string fBusinessProcess; public static FieldInfo _BusinessProcess = new FieldInfo("t_smd_Relation", "BusinessProcess");
        [Column]
        public string EapproveSN { get { return fEapproveSN; } set { fEapproveSN = value; EntityState.FieldChange("EapproveSN"); } } private string fEapproveSN; public static FieldInfo _EapproveSN = new FieldInfo("t_smd_Relation", "EapproveSN");
        [Column]
        public string EapproveData { get { return fEapproveData; } set { fEapproveData = value; EntityState.FieldChange("EapproveData"); } } private string fEapproveData; public static FieldInfo _EapproveData = new FieldInfo("t_smd_Relation", "EapproveData");
        [Column]
        public string AuthID { get { return fAuthID; } set { fAuthID = value; EntityState.FieldChange("AuthID"); } } private string fAuthID; public static FieldInfo _AuthID = new FieldInfo("t_smd_Relation", "AuthID");
        [Column]
        public string StoreName { get { return fStoreName; } set { fStoreName = value; EntityState.FieldChange("StoreName"); } } private string fStoreName; public static FieldInfo _StoreName = new FieldInfo("t_smd_Relation", "StoreName");
        [Column]
        public string StoreStatus { get { return fStoreStatus; } set { fStoreStatus = value; EntityState.FieldChange("StoreStatus"); } } private string fStoreStatus; public static FieldInfo _StoreStatus = new FieldInfo("t_smd_Relation", "StoreStatus");
        [Column]
        public string StoreType { get { return fStoreType; } set { fStoreType = value; EntityState.FieldChange("StoreType"); } } private string fStoreType; public static FieldInfo _StoreType = new FieldInfo("t_smd_Relation", "StoreType");
        [Column]
        public string OldDealerCode { get { return fOldDealerCode; } set { fOldDealerCode = value; EntityState.FieldChange("OldDealerCode"); } } private string fOldDealerCode; public static FieldInfo _OldDealerCode = new FieldInfo("t_smd_Relation", "OldDealerCode");
        [Column]
        public string FullsetSN { get { return fFullsetSN; } set { fFullsetSN = value; EntityState.FieldChange("FullsetSN"); } } private string fFullsetSN; public static FieldInfo _FullsetSN = new FieldInfo("t_smd_Relation", "FullsetSN");
        [Column]
        public string Region { get { return fRegion; } set { fRegion = value; EntityState.FieldChange("Region"); } } private string fRegion; public static FieldInfo _Region = new FieldInfo("t_smd_Relation", "Region");
        [Column]
        public string Province { get { return fProvince; } set { fProvince = value; EntityState.FieldChange("Province"); } } private string fProvince; public static FieldInfo _Province = new FieldInfo("t_smd_Relation", "Province");
        [Column]
        public string City { get { return fCity; } set { fCity = value; EntityState.FieldChange("City"); } } private string fCity; public static FieldInfo _City = new FieldInfo("t_smd_Relation", "City");
        [Column]
        public string DealerCode { get { return fDealerCode; } set { fDealerCode = value; EntityState.FieldChange("DealerCode"); } } private string fDealerCode; public static FieldInfo _DealerCode = new FieldInfo("t_smd_Relation", "DealerCode");
        [Column]
        public string StoreID { get { return fStoreID; } set { fStoreID = value; EntityState.FieldChange("StoreID"); } } private string fStoreID; public static FieldInfo _StoreID = new FieldInfo("t_smd_Relation", "StoreID");
        [Column]
        public string DeviceID { get { return fDeviceID; } set { fDeviceID = value; EntityState.FieldChange("DeviceID"); } } private string fDeviceID; public static FieldInfo _DeviceID = new FieldInfo("t_smd_Relation", "DeviceID");
        [Column]
        public string DealerID { get { return fDealerID; } set { fDealerID = value; EntityState.FieldChange("DealerID"); } } private string fDealerID; public static FieldInfo _DealerID = new FieldInfo("t_smd_Relation", "DealerID");
        [Column]
        public int OldDealerID { get { return fOldDealerID; } set { fOldDealerID = value; EntityState.FieldChange("OldDealerID"); } } private int fOldDealerID; public static FieldInfo _OldDealerID = new FieldInfo("t_smd_Relation", "OldDealerID");
    }
}